import request from '@/utils/request'

export function brand_list(params) {
    return request({
        url: '/mall_product/platform/brand/page',
        method: 'get',
        params
    })
}


export function brand_save(data) {
    return request({
        url: '/mall_product/platform/brand',
        method: 'post',
        data
    })
}

export function brand_info(id) {
    return request({
        url: `/mall_product/platform/brand/${id}`,
        method: 'get'
    })
}

export function brand_update(data) {
    return request({
        url: '/mall_product/platform/brand',
        method: 'put',
        data
    })
}

export function brand_del(id) {
    return request({
        url: `/mall_product/platform/brand/${id}`,
        method: 'delete'
    })
}